const svgCaptcha = require("svg-captcha");

// admin 模块的业务逻辑层
module.exports.getCaptchaService = async function () {
  // 加密

  const captcha = svgCaptcha.create({
    size: 4,
    ignoreChars: "iIl10oO",
    noise: 6,
    color: true,
  });
  debugger;
  return captcha;
};
